import { Component, Input } from '@angular/core';
import { Hero } from './hierachical-DI-hero';
@Component({
    selector: 'guide-hero-card',
    template: `
    <div>
      <span>Name:</span>
      <span>{{hero.name}}</span>
    </div>
    `
})
export class HeroCardComponent {
    @Input() hero: Hero;
}
